from flask_script import Manager, Server
from __init__ import app

manager = Manager(app)

if __name__ == '__main__':
    manager.add_command("runserver", Server(
        host='0.0.0.0',port='8888')
    )
    manager.run()
